import request from '@/utils/request'

// 环境监测查询设备统计
export function quakeDeviceStat(query) {
  return request({
    url: '/visual/statisticsPressureSensor/deviceStat',
    method: 'get',
    params: query
  })
}

// 查询报警数据
export function statisticsTotalQuakeEvent(query) {
  return request({
    url: '/visual/statisticsPressureSensor/statisticsTotalEvent',
    method: 'get',
    params: query
  })
}

// 环境监测统计总览可视化界面
export function quakeVisualStatistics(query) {
  return request({
    url: '/visual/statisticsPressureSensor/visualStatistics',
    method: 'get',
    params: query
  })
}



// 环境监测统计总览可视化界面
export function dataVisual(query) {
  return request({
    url: '/visual/statisticsPressureSensor/dataVisual',
    method: 'get',
    params: query
  })
}


// 环境监测报警数据分类统计（本日）
export function todayQuakeEventStat(query) {
  return request({
    url: '/visual/statisticsPressureSensor/todayEventStat',
    method: 'get',
    params: query
  })
}


// 环境监测报警数据分类统计（本月）
export function monthQuakeEventStat(query) {
  return request({
    url: '/visual/statisticsPressureSensor/monthEventStat',
    method: 'get',
    params: query
  })
}


// 环境监测报警近30日数据趋势
export function thirtyDaysEventTrend(query) {
  return request({
    url: '/visual/statisticsPressureSensor/thirtyDaysEventTrend',
    method: 'get',
    params: query
  })
}

// 环境监测报警近一年数据统计
export function thisYearQuakeEventStatistics(query) {
  return request({
    url: '/visual/statisticsPressureSensor/eventThisYearStatistics',
    method: 'get',
    params: query
  })
}


// 环境监测报警数据分类统计（全部）
export function quakeEventStat(query) {
  return request({
    url: '/visual/statisticsPressureSensor/eventStat',
    method: 'get',
    params: query
  })
}
